import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

import { IonicModule } from '@ionic/angular';
import { Contacts } from '@ionic-native/contacts/ngx';

import { ContactsPageRoutingModule } from './contacts-routing.module';

import { ContactsPage } from './contacts.page';
import { CommonsModule } from 'src/app/commons/commons.module';
import { ContactsCreateComponent } from './contacts-create/contacts-create.component';
import { ContactsMobileComponent } from './contacts-mobile/contacts-mobile.component';
import { ContactsDetailComponent } from './contacts-detail/contacts-detail.component';
import { ContactsApplyComponent } from './contacts-apply/contacts-apply.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    ContactsPageRoutingModule,
    CommonsModule
  ],
  declarations: [ContactsPage, ContactsDetailComponent, ContactsCreateComponent, ContactsMobileComponent, ContactsApplyComponent],
  providers: [Contacts]
})
export class ContactsPageModule { }
